﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyToApp.Models
{
    public class TaskItem:BindableBase
    {
        private ObservableCollection<TaskInfo> tasks;
        private string background;
        public string Id { get; set; }

        public string Title { get; set; }

        public string Date { get; set; }

        public string Desc { get; set; }
        
        public string Background { get { return background; } 
            set {  background= value;RaisePropertyChanged(nameof(Background));} 
        }

        /// <summary>
        /// 监听 
        /// </summary>
        public ObservableCollection<TaskInfo> TaskLists { get { return tasks; }set { tasks = value;RaisePropertyChanged(); } }


    }
}
